//
//  JLActable.swift
//  JLRouter
//
//  Created by Jiang Chencheng on 2024/8/16.
//

import Foundation
import JLCommonKit

public protocol Actable: TypeNameable {
    static func act(values: [String: Any]) -> Bool
    static var routePattern: String { get }
    static var description: String { get }
}

public extension Actable {
    static var routePattern: String { typeName }
    static var description: String { "missing description" }
}
